projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa7886a
)
Add Python 3.5 keyword "await"
author
Jorgen Schaefer
<contact@jorgenschaefer.de>
Thu, 21 Apr 2016 08:00:39 +0000
(10:00 +0200)
committer
John Wiegley
<johnw@newartisans.com>
Tue, 26 Apr 2016 17:50:30 +0000
(13:50 -0400)
* lisp/progmodes/python.el (python-font-lock-keywords): Add await as
keyword.
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 9c23655b91139d3ac4d4f23c271b194323cf9c23..2d22bb2ce88901972476f16279f23d998a23c6de 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-524,6
+524,7
@@
The type returned can be `comment', `string' or `paren'."
"nonlocal"
;; Python 3.5+ PEP492
(and "async" (+ space) (or "def" "for" "with"))
+ "await"
;; Extra:
"self")
symbol-end)